package cn.sdormitory.workflow.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author: lx
 * @date: 2023/11/9 15:46
 * @description:
 */
@Data
@TableName("stu_leave_apply")
public class StuLeaveApply {

    private Long id;

    private Long studentId;

    private Long classId;

    private Long clsTeacherId;

    private String startDate;

    private String endDate;

    private String leaveDay;

    private String leaveType;

    private String leaveReason;

    private String status;

    private String rejectReason;

    private Date createTime;

    private Date modifyTime;

    @TableField(exist = false)
    private String studentName;
    @TableField(exist = false)
    private String className;
    @TableField(exist = false)
    private String leaveTypeLabel;

    //班主任名称
    @TableField(exist = false)
    private String username;

    @TableField(value = "wx_open_id",exist = false)
    private String wxOpenId;
    @TableField(value = "parent_wx_open_id",exist = false)
    private String parentWxOpenId;
}